package org.thinker.point.ui;


import java.util.HashMap;
import java.util.Map;

public class PointUIFactory {
	private static Map<String, PointUI> list = new HashMap<String, PointUI>();
	
	
	static{
		list.put("1", new CreateUI());
		list.put("2", new GetUI());
		list.put("3", new DeleteUI());
		list.put("4", new FindUI());
	}
	

	public static PointUI getUI(String oper) throws Exception{
				
		return list.get(oper);
	}

};
